package commons.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@EqualsAndHashCode
@ToString
public class Users {
    @TableId
    private int id;

    private String name;
    private String password;

    public Users(String username, String password){
        this.name = username;
        this.password = password;
    }
}
